package routers

import (
	"chuanyou10/controllers"

	"github.com/astaxie/beego"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/login", &controllers.MainController{}, "*:Login")

	beego.Router("/yanzhengLogin", &controllers.MainController{}, "*:YanzhengLogin")

	beego.Router("/register", &controllers.MainController{}, "*:Register")

	beego.Router("/doregister", &controllers.MainController{}, "*:Doregister")

}
